package org.tech4j.common.core.model.request;

import java.io.Serial;

/**
 * @program: tech4j-common
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/1 21:45
 **/
public class PageRequest extends BaseRequest {
    @Serial
    private static final long serialVersionUID = 7138971311483460830L;

    /**
     * 当前页
     */
    private int pageNum;

    /**
     * 每页结果数
     */
    private int pageSize;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
